﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;

namespace GYCTOAManagementSystemNewApi.Model.Enum
{
    /// <summary>
    /// 弹出消息管理类
    /// </summary>
    public enum MessageTextEnum
    {
        #region 采购管理
        [Description("该采购记录不存在")]
        PurchaseNotExits = 1001,
        [Description("该商品已入库，无法删除")]
        PurchaseAlreadyWareHousing=1002,
        [Description("库管已确认，无法删除")]
        InboundOrderAlreadyWareHousing = 1003,
        [Description("该入库单不存在")]
        InboundOrderNotExits = 1004,
        [Description("单据已审批完毕，无法修改")]
        IsAuditEndNotEdit = 1005,
        #endregion

        #region 权限管理
        [Description("该状态下不能签批或无签批权限")]
        WrongState = 2001,
        [Description("该单据已被拒绝，无法进行审批")]
        Refused = 2002,
        [Description("该发起条件还未设置对应的审批规则")]
        NoAuditRule = 2003,
        [Description("该单据已审批完毕")]
        AuditEnd = 2004,
        #endregion

        #region 项目管理
        [Description("非常抱歉，项目负责人才有权进行此操作")]
        HeadUserIdRight = 3001,
        [Description("非常抱歉，项目管理部成员才有权进行此操作")]
        ProjectManageRight = 3002,
        #endregion

    }
}
